_Pragma("once");

#include "MultiPage.h"
#include "BasePage.h"
#include "ConfigManager.h"
#include "ExtendDevice.h"
#include "ExtendDeviceManager.h"

/**
 * 电能表显示
 *
 * @author lizb
 */
class PowerPage : public MultiPage<BasePage> {
public:
    using super = MultiPage<BasePage>;

    PowerPage(const int pageNum);

    void paint() override;

protected:
    /**
     * 控制外设的集合
     */
    ExtendDeviceWeakPtrs* mpControllers;
};
